package com.company.cm.cm.cm.weather_info.generated;

import com.company.cm.cm.cm.weather_info.WeatherInfo;
import com.company.cm.cm.cm.weather_info.WeatherInfoManager;
import com.speedment.common.annotation.GeneratedCode;
import com.speedment.runtime.config.identifier.TableIdentifier;
import com.speedment.runtime.core.manager.AbstractManager;
import com.speedment.runtime.field.Field;

import java.util.stream.Stream;

/**
 * The generated base implementation for the manager of every {@link
 * com.company.cm.cm.cm.weather_info.WeatherInfo} entity.
 * <p>
 * This file has been automatically generated by Speedment. Any changes made to
 * it will be overwritten.
 * 
 * @author Speedment
 */
@GeneratedCode("Speedment")
public abstract class GeneratedWeatherInfoManagerImpl 
extends AbstractManager<WeatherInfo> 
implements GeneratedWeatherInfoManager {
    
    private final TableIdentifier<WeatherInfo> tableIdentifier;
    
    protected GeneratedWeatherInfoManagerImpl() {
        this.tableIdentifier = TableIdentifier.of("cm", "cm", "weather_info");
    }
    
    @Override
    public TableIdentifier<WeatherInfo> getTableIdentifier() {
        return tableIdentifier;
    }
    
    @Override
    public Stream<Field<WeatherInfo>> fields() {
        return WeatherInfoManager.FIELDS.stream();
    }
    
    @Override
    public Stream<Field<WeatherInfo>> primaryKeyFields() {
        return Stream.of(
            WeatherInfo.ID
        );
    }
}